security {

	// see DefaultSecurityConfig.groovy for all settable/overridable properties

	active = true

	loginUserDomainClass = "Person"
	authorityDomainClass = "Authority"
	requestMapClass = "Requestmap"

    defaultRole = 'ROLE_BASIC_USER'

    useRequestMapDomainClass = false
    useMail=false
    requestMapString = """
CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON
PATTERN_TYPE_APACHE_ANT
/images/**= IS_AUTHENTICATED_ANONYMOUSLY
/js/**= IS_AUTHENTICATED_ANONYMOUSLY
/css/**= IS_AUTHENTICATED_ANONYMOUSLY
/login/**= IS_AUTHENTICATED_ANONYMOUSLY
/**/create=ROLE_ADMIN
/**/edit=ROLE_ADMIN
/**/update=ROLE_ADMIN
/register/save=IS_AUTHENTICATED_ANONYMOUSLY
/**/delete=ROLE_ADMIN
/**=IS_AUTHENTICATED_ANONYMOUSLY
    """
}
